/*********************************************************/
/**					mm.h by doom119					 	 */
/**						May, 2010						 */
/*********************************************************/
#ifndef _MM_H_
#define _MM_H_

#define PAGE_SIZE 4096

extern long _pg_dir[1024]; //_pg_dir is in head.s

extern int copy_page_tables(unsigned long from, unsigned long to, long size);
extern int free_page_tables(unsigned long from, long size);
unsigned long get_free_page(void);
void free_page(unsigned long addr);

#endif
